﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;

namespace Petaframe.DataAccess
{
    public interface IDetachedQuery : IDisposable
    {
       DataTable FindAll(string commandText, System.Data.CommandType commandType = CommandType.Text);
       int PersistTable(DataTable table);
       DataTable Page(string commandText, int currentPage = 1, int pageSize = 20);
    }
}
